home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / kh_gdi.zip / GENERAL / KH_ERROR.H < prev    next >
C/C++ Source or Header  |  1996-05-30  |  492b  |  20 lines

  1. #ifndef __KH_ERROR_H_
  2. #define __KH_ERROR_H_
  3.  
  4. /*    Error handler. Enumeration could be continued in this or another
  5.     file(s). This is why could not be used "enum ERRORS { ..."
  6.     I suppose to use this variable as common error variable in
  7.     the next version of package.
  8. */
  9.  
  10. enum { KH_SUCCESS, KH_UNKNOWN_ERROR, KH_FILE_ERROR, KH_BGI_ERROR,
  11.        KH_MEMORY_ERROR,
  12.  
  13.        KH_USER_ERROR };
  14.  
  15. static int kh_error_code;     // Last error in system
  16.  
  17.  
  18.  
  19. #endif __KH_ERROR_H_
  20.